#ifndef __UM_CACHE_BUFFER_H__
#define __UM_CACHE_BUFFER_H__
#include "um_basic_types.h"

UM_VOID * createCache(UM_S32 size);
UM_S32 destoryCache(UM_VOID * pCache);
UM_S32 clearCache(UM_VOID * pCache);
UM_S32 writeCache(UM_VOID * pCache, UM_VOID *pBuffer, UM_S32 size);
UM_S32 readCache(UM_VOID * pCache, UM_VOID *pBuffer, UM_S32 *pSize);
UM_S32 getCacheLength(UM_VOID * pCache);
UM_S32 getCacheSize(UM_VOID * pCache);

#endif

